<html>
<body>
<p>Reports trivial pattern matches on boolean expressions that can be replaced by conditional statements.</p>
<p><b>Example:</b></p>
<pre><code>
  val bool: Boolean
  bool match {
    case true => ???
    case false => ???
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  val bool: Boolean
  if (bool) {
    ???
  } else {
    ???
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>